package com.framework.bdf4j.idesupport.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.web.client.RestTemplate;

/**
 * 集成支持老版本IDE bdfcore的获得springbean
 * 
 * @author lmc
 * @date 2020/04/30
 */
@Configuration
@ConditionalOnClass(name = { "com.ylink.bdf.base.util.BundleUtil" })
@Import({ MybatisIDEConfig.class, TreSpringContextHolder.class })
public class TradeRunConfig {
	@Bean
	public RestTemplate singleTemplate() {
		return new RestTemplate();
	}
}
